7da2247e40f23a2a423f794e356436f227b60de9,src/org/traccar/reports/Route.java,Route,getExcel,#OutputStream#number#Collection#Collection#DateTime#DateTime#,60

Before Change


            DeviceReport deviceRoutes = new DeviceReport();
            Device device = Context.getIdentityManager().getDeviceById(deviceId);
            deviceRoutes.setDeviceName(device.getName());
            sheetNames.add(deviceRoutes.getDeviceName());
            if (device.getGroupId() != 0) {
                Group group = Context.getDeviceManager().getGroupById(device.getGroupId());
                if (group != null) {

After Change


            DeviceReport deviceRoutes = new DeviceReport();
            Device device = Context.getIdentityManager().getDeviceById(deviceId);
            deviceRoutes.setDeviceName(device.getName());
            sheetNames.add(WorkbookUtil.createSafeSheetName(deviceRoutes.getDeviceName()));
            if (device.getGroupId() != 0) {
                Group group = Context.getDeviceManager().getGroupById(device.getGroupId());
                if (group != null) {